package com.cuit.domain;

public class Result<T> {
//    状态：200、500、404等，还可以自定义
    private int code;
    private String msg;
    private T data;

    public Result(int code){
        this(code,"",null);
    }
    public Result(int code,String msg){
        this(code,msg,null);
    }
    public Result(int code,String msg,T data){
        this.code=code;
        this.msg=msg;
        this.data=data;
    }

}
